package com.yonyou.sunxilong.entity;

import com.yonyou.iuap.yms.annotation.YMSEntity;
import java.math.BigDecimal;
import java.util.Date;
import com.yonyou.ypd.bill.basic.entity.SuperDO;

/**
 * @author root
 * @description sxl_请购单明细
 * @Date 2024-02-23 00:54:19
 **/
@YMSEntity(name = "zyhyspring2024.zyhyspring2024.sxl_apply_orders", domain = "zyhyspring2024")
public class SxlApplyOrders extends SuperDO {
    public static final String ENTITY_NAME = "zyhyspring2024.zyhyspring2024.sxl_apply_orders";
    public static final String PRODUCT = "product";
    public static final String PROJECT = "project";
    public static final String ACTUAL_OCCUPY = "actual_occupy";
    public static final String PUR_QTY = "pur_qty";
    public static final String PRICE = "price";
    public static final String MONEY = "money";
    public static final String SXL_APPLY_ORDER_ID = "sxl_apply_order_id";
    public static final String DR = "dr";
    public static final String YTENANTID = "ytenantId";
    public static final String CREATETIME = "createTime";
    public static final String MODIFYTIME = "modifyTime";
    public static final String CREATOR = "creator";
    public static final String MODIFIER = "modifier";
    public static final String ID = "id";
    public static final String PUBTS = "pubts";
    public static final String BIZFLOWID = "bizflowId";
    public static final String BIZFLOWNAME = "bizflowName";
    public static final String SOURCEID = "sourceId";
    public static final String SOURCECHILDID = "sourceChildId";
    public static final String BIZFLOWINSTANCEID = "bizFlowInstanceId";
    public static final String SOURCEBUSIOBJ = "sourceBusiObj";
    public static final String SOURCECODE = "sourceCode";
    public static final String BIZFLOWMAKEBILLCODE = "bizFlowMakeBillCode";
    public static final String SOURCEGRANDID = "sourceGrandId";
    public static final String FIRSTID = "firstId";
    public static final String FIRSTCHILDID = "firstChildId";
    public static final String FIRSTBUSIOBJ = "firstBusiObj";
    public static final String FIRSTCODE = "firstCode";

    /* 物料,uri:zyhyspring2024.zyhyspring2024.sxl_apply_orders.product */
    private Long product;
    /* 项目,uri:zyhyspring2024.zyhyspring2024.sxl_apply_orders.project */
    private String project;
    /* 实际占用,uri:zyhyspring2024.zyhyspring2024.sxl_apply_orders.actual_occupy */
    private BigDecimal actual_occupy;
    /* 数量,uri:zyhyspring2024.zyhyspring2024.sxl_apply_orders.pur_qty */
    private BigDecimal pur_qty;
    /* 单价,uri:zyhyspring2024.zyhyspring2024.sxl_apply_orders.price */
    private BigDecimal price;
    /* 金额,uri:zyhyspring2024.zyhyspring2024.sxl_apply_orders.money */
    private BigDecimal money;
    /* sxl_请购单,uri:zyhyspring2024.zyhyspring2024.sxl_apply_orders.sxl_apply_order_id */
    private String sxl_apply_order_id;
    /* 逻辑删除,uri:iuap.busiObj.LogicDelete.dr */
    private Short dr;
    /* 租户id,uri:iuap.busiObj.IYTenant.ytenantId */
    private String ytenantId;
    /* 创建时间,uri:iuap.busiObj.IAuditInfo.createTime */
    private Date createTime;
    /* 修改时间,uri:iuap.busiObj.IAuditInfo.modifyTime */
    private Date modifyTime;
    /* 创建人,uri:iuap.busiObj.IAuditInfo.creator */
    private String creator;
    /* 修改人,uri:iuap.busiObj.IAuditInfo.modifier */
    private String modifier;
    /* id,uri:iuap.busiObj.BizObject.id */
    private String id;
    /* pubts,uri:iuap.busiObj.BizObject.pubts */
    private Date pubts;
    /* 业务流id,uri:iuap.busiObj.BusinessFlowItf.bizflowId */
    private String bizflowId;
    /* 流程名称,uri:iuap.busiObj.BusinessFlowItf.bizflowName */
    private String bizflowName;
    /* 上游单据主表id,uri:iuap.busiObj.BusinessFlowItf.sourceId */
    private String sourceId;
    /* 上游单据子表id,uri:iuap.busiObj.BusinessFlowItf.sourceChildId */
    private String sourceChildId;
    /* 业务流实例id,uri:iuap.busiObj.BusinessFlowItf.bizFlowInstanceId */
    private String bizFlowInstanceId;
    /* 上游业务对象,uri:iuap.busiObj.BusinessFlowItf.sourceBusiObj */
    private String sourceBusiObj;
    /* 上游单据号,uri:iuap.busiObj.BusinessFlowItf.sourceCode */
    private String sourceCode;
    /* 单据转换规则编码,uri:iuap.busiObj.BusinessFlowItf.bizFlowMakeBillCode */
    private String bizFlowMakeBillCode;
    /* 来源孙表id,uri:iuap.busiObj.BusinessFlowSourcesItf.sourceGrandId */
    private String sourceGrandId;
    /* 来源单据主表id,uri:iuap.busiObj.BusinessFlowSourcesItf.firstId */
    private String firstId;
    /* 来源单据子表id,uri:iuap.busiObj.BusinessFlowSourcesItf.firstChildId */
    private String firstChildId;
    /* 来源业务对象,uri:iuap.busiObj.BusinessFlowSourcesItf.firstBusiObj */
    private String firstBusiObj;
    /* 来源单据号,uri:iuap.busiObj.BusinessFlowSourcesItf.firstCode */
    private String firstCode;

    public void setProduct(Long product) {
        this.product = product;
    }

    public void setProject(String project) {
        this.project = project;
    }

    public void setActual_occupy(BigDecimal actual_occupy) {
        this.actual_occupy = actual_occupy;
    }

    public void setPur_qty(BigDecimal pur_qty) {
        this.pur_qty = pur_qty;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public void setSxl_apply_order_id(String sxl_apply_order_id) {
        this.sxl_apply_order_id = sxl_apply_order_id;
    }

    public void setDr(Short dr) {
        this.dr = dr;
    }

    public void setYtenantId(String ytenantId) {
        this.ytenantId = ytenantId;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setPubts(Date pubts) {
        this.pubts = pubts;
    }

    public void setBizflowId(String bizflowId) {
        this.bizflowId = bizflowId;
    }

    public void setBizflowName(String bizflowName) {
        this.bizflowName = bizflowName;
    }

    public void setSourceId(String sourceId) {
        this.sourceId = sourceId;
    }

    public void setSourceChildId(String sourceChildId) {
        this.sourceChildId = sourceChildId;
    }

    public void setBizFlowInstanceId(String bizFlowInstanceId) {
        this.bizFlowInstanceId = bizFlowInstanceId;
    }

    public void setSourceBusiObj(String sourceBusiObj) {
        this.sourceBusiObj = sourceBusiObj;
    }

    public void setSourceCode(String sourceCode) {
        this.sourceCode = sourceCode;
    }

    public void setBizFlowMakeBillCode(String bizFlowMakeBillCode) {
        this.bizFlowMakeBillCode = bizFlowMakeBillCode;
    }

    public void setSourceGrandId(String sourceGrandId) {
        this.sourceGrandId = sourceGrandId;
    }

    public void setFirstId(String firstId) {
        this.firstId = firstId;
    }

    public void setFirstChildId(String firstChildId) {
        this.firstChildId = firstChildId;
    }

    public void setFirstBusiObj(String firstBusiObj) {
        this.firstBusiObj = firstBusiObj;
    }

    public void setFirstCode(String firstCode) {
        this.firstCode = firstCode;
    }

    public Long getProduct() {
        return product;
    }

    public String getProject() {
        return project;
    }

    public BigDecimal getActual_occupy() {
        return actual_occupy;
    }

    public BigDecimal getPur_qty() {
        return pur_qty;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public String getSxl_apply_order_id() {
        return sxl_apply_order_id;
    }

    public Short getDr() {
        return dr;
    }

    public String getYtenantId() {
        return ytenantId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public String getCreator() {
        return creator;
    }

    public String getModifier() {
        return modifier;
    }

    public String getId() {
        return id;
    }

    public Date getPubts() {
        return pubts;
    }

    public String getBizflowId() {
        return bizflowId;
    }

    public String getBizflowName() {
        return bizflowName;
    }

    public String getSourceId() {
        return sourceId;
    }

    public String getSourceChildId() {
        return sourceChildId;
    }

    public String getBizFlowInstanceId() {
        return bizFlowInstanceId;
    }

    public String getSourceBusiObj() {
        return sourceBusiObj;
    }

    public String getSourceCode() {
        return sourceCode;
    }

    public String getBizFlowMakeBillCode() {
        return bizFlowMakeBillCode;
    }

    public String getSourceGrandId() {
        return sourceGrandId;
    }

    public String getFirstId() {
        return firstId;
    }

    public String getFirstChildId() {
        return firstChildId;
    }

    public String getFirstBusiObj() {
        return firstBusiObj;
    }

    public String getFirstCode() {
        return firstCode;
    }

    public String getFullName() {
        if (super.getFullName() != null && super.getFullName().indexOf("#PT#.") != -1) {
            return super.getFullName();
        } else {
            return ENTITY_NAME;
        }
    }
}
